<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <link rel="stylesheet" href="./lib/mui/css/mui.css" />
    <link rel="stylesheet" href="./lib/fa/css/font-awesome.css" />
    <link rel="stylesheet" href="./css/common.css" />
    <link rel="stylesheet" href="./css/category.css" />
    <title>乐淘移动端</title>
  </head>
  <body>
    <div class="lt-layout">
      <!-- 头部 -->
      <div class="lt-header">
        <a href="./index.html" class="home"
          ><i class="mui-icon mui-icon-home"></i
        ></a>
        <h4>乐淘云购</h4>
        <a href="search.html" class="search"
          ><i class="mui-icon mui-icon-search"></i
        ></a>
      </div>
      <!-- 主体 -->
      <div class="lt-main">
        <!-- 左边盒子 -->
        <div class="cate-aside">
          <div class="mui-scroll-wrapper">
            <div class="mui-scroll">
              <!--这里放置真实显示的DOM内容-->
              <ul>
                <li><a href="#">小悦馆</a></li>
                <li class="current"><a href="#">小悦馆</a></li>
                <li><a href="#">小悦馆</a></li>
                <li><a href="#">小悦馆</a></li>
                <li><a href="#">小悦馆</a></li>
                <li><a href="#">小悦馆</a></li>
                <li><a href="#">小悦馆</a></li>
                <li><a href="#">小悦馆</a></li>
                <li><a href="#">小悦馆</a></li>
                <li><a href="#">小悦馆</a></li>
                <li><a href="#">小悦馆</a></li>
                <li><a href="#">小悦馆</a></li>
                <li><a href="#">小悦馆</a></li>
              </ul>
            </div>
          </div>
        </div>
        <!-- 右边盒子 -->
        <div class="cate-content">
          <a href="#"
            ><img src="./images/brand1.png" alt="" />
            <p>耐克</p></a
          >
          <a href="#"
            ><img src="./images/brand1.png" alt="" />
            <p>耐克</p></a
          >
          <a href="#"
            ><img src="./images/brand1.png" alt="" />
            <p>耐克</p></a
          >
          <a href="#"
            ><img src="./images/brand1.png" alt="" />
            <p>耐克</p></a
          >
          <a href="#"
            ><img src="./images/brand1.png" alt="" />
            <p>耐克</p></a
          >
        </div>
      </div>
      <!-- 底部 -->
      <div class="lt-footer">
        <ul>
          <li>
            <a href="index.html">
              <i class="fa fa-home"></i>
              <p>首页</p>
            </a>
          </li>
          <li class="current">
            <a href="category.html">
              <i class="fa fa-align-justify"></i>
              <p>分类页</p>
            </a>
          </li>
          <li>
            <a href="cart.html">
              <i class="fa fa-shopping-cart"></i>
              <p>购物车</p>
            </a>
          </li>
          <li>
            <a href="user.html">
              <i class="fa fa-user"></i>
              <p>用户中心</p>
            </a>
          </li>
        </ul>
      </div>
    </div>

    <!-- 模板 -->
    <script type="text/html" id="tmp-one">
      {{each rows v i}}
      <li class="{{i==0?current:''}}"><a href="#" data-id={{v.id}}>{{v.categoryName}}</a></li>
      {{/each}}
    </script>
    <!-- 右侧模板 -->
    <script type="text/html" id="tmp-two">
        {{each rows v i}}
        <a href="#"
        ><img src="{{v.brandLogo}}" alt="" />
        <p>{{v.brandName}}</p></a
      >
        {{/each}}
    </script>

    <script src="./lib/zepto/zepto.min.js"></script>
    <script src="./lib/mui/js/mui.js"></script>
    <script src="./lib/artTemplate/template-web.js"></script>
    <script src="./js/common.js"></script>
    <script src="./js/category.js"></script>
  </body>
</html>
